package cc.mrbird.febs.system.service;


import cc.mrbird.febs.common.entity.QueryRequest;
import cc.mrbird.febs.system.entity.DrawlingMark;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author MrBird
 * @date 2019-07-20 23:16:03
 */
public interface IDrawlingMarkService extends IService<DrawlingMark> {
    /**
     * 查询（分页）
     *
     * @param request QueryRequest
     * @param drawlingMark drawlingMark
     * @return IPage<DrawlingMark>
     */
    IPage<DrawlingMark> findDrawlingMarks(QueryRequest request, DrawlingMark drawlingMark);

    /**
     * 查询（所有）
     *
     * @param drawlingMark drawlingMark
     * @return List<DrawlingMark>
     */
    List<DrawlingMark> findDrawlingMarks(DrawlingMark drawlingMark);

    /**
     * 新增
     *
     * @param drawlingMark drawlingMark
     */
    void createDrawlingMark(DrawlingMark drawlingMark);

    /**
     * 修改
     *
     * @param drawlingMark drawlingMark
     */
    void updateDrawlingMark(DrawlingMark drawlingMark);

    /**
     * 删除
     *
     * @param drawlingMark drawlingMark
     */
    void deleteDrawlingMark(DrawlingMark drawlingMark);
}
